#pragma once
#include "uicombo.h"

class CButtonMenuUI :
	public CComboUI
{
public:
	CButtonMenuUI(void);
	LPCTSTR GetClass() const;
    LPVOID GetInterface(LPCTSTR pstrName);

public:
	 void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);
	 void PaintText(HDC hDC);

	void SetTextStyle(UINT uStyle);
    void SetTextColor(DWORD dwTextColor);
    void SetDisabledTextColor(DWORD dwTextColor);
    void SetFont(int index);
    RECT GetTextPadding() const;
    void SetTextPadding(RECT rc);
    bool IsShowHtml();
    void SetShowHtml(bool bShowHtml = true);
protected:

    DWORD	m_dwTextColor;
    DWORD	m_dwDisabledTextColor;
    int		m_iFont;
    UINT	m_uTextStyle;
    RECT	m_rcTextPadding;
    bool	m_bShowHtml;
};
